package com.lagou.edu.service;

import com.lagou.edu.pojo.User;

import java.util.Date;


public interface CodeService {

    Date getExpireTimeByEmailAndCode(String email, String code);

    void saveCodeIntoDatabaseByEmail(User user);
}
